<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ShopAddition extends Model
{

    public $timestamps = false;

    protected $table = 'shop_addition';

    protected $primaryKey = 'shop_id';

    protected $fillable = [
        'shop_id',
        'organization_code',
        'name',
        'pic',
        'pic_oss',
    ];

    public function shop()
    {
        return $this->hasOne('App\\Models\\Shop','shop_id','shop_id');
    }
}
